drop table sys_Setting

CREATE TABLE [dbo].[sys_Setting](
	[KeyName] [nvarchar](50) NOT NULL,
	[ClinicID] [int] NOT NULL,
	[KeyValue] [nvarchar](200) NOT NULL,
 CONSTRAINT [PK_sys_Setting] PRIMARY KEY CLUSTERED 
(
	[KeyName] ASC,
	[ClinicID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

ALTER TABLE [dbo].[sys_Setting] ADD  CONSTRAINT [DF_sys_Setting_DefaultPassword]  DEFAULT ('') FOR [KeyValue]
GO

insert into sys_Setting(KeyName,ClinicID,KeyValue) values('DefaultPassword',0,'123456')

insert into sys_Setting(KeyName,ClinicID,KeyValue) values('SMS_WebChinese_Url',0,'http://utf8.sms.webchinese.cn/?Uid=kongfanneng&Key=903384&smsMob={0}&smsText={1}')

insert into sys_Setting(KeyName,ClinicID,KeyValue) values('SMS_WebChinese_Enable',1001,'1')